const axios = require('axios')
const queryString = require('querystring')
const pre = 'http://47.105.161.41/api'
axios.post(pre + '/authserver/user/login', queryString.stringify({account: 'admin', password: '123456'})).then((res) => {
  console.log(res.data)
}).catch((err) => {
  console.log(err)
})

var param = {
name: '',
address: '',
property: '1',
type: '1',
mobile: '1571135689',
saleMobile: '245',
ipo: true,
capital: '',
intro: '',
license: '',
contactPerson: '',
reason: '',
}
axios.post(pre + '/uplus/company', param).then((res) => {
  console.log(res)
}).catch((err) => {
  console.log(err)
})